﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TanWeb.Models.Entities
{
    public class MenuItem
    {
        public MenuItem()
        {
            itemGroup = new ItemGroup();
            subItems = new List<SubItemGroup>();
        }

        public MenuItem(ItemGroup itemGroup, List<SubItemGroup> subItems)
        {
            this.itemGroup = itemGroup;
            this.subItems = subItems;
        }

        public ItemGroup itemGroup { set; get; }

        public List<SubItemGroup> subItems { set; get; }
    }
}